/*
 * AcceptMessage.cpp
 *
 * Author: Mario Hock
 *
 */

#include "AcceptMessage.h"

vsznDefault(AcceptMessage);

AcceptMessage::AcceptMessage()
{
	// Default constructor is
	// necessary for serialization
}

AcceptMessage::AcceptMessage(bool accept, string key, uint64_t skip) :
    accept(accept), key(key), skip(skip)
{
}


string AcceptMessage::get_key()
{
  return key;
}

bool AcceptMessage::get_accept()
{
  return accept;
}

uint64_t AcceptMessage::get_skip()
{
    return skip;
}

